//
//  LookJeweCostumCollectionViewCell.m
//  MMLOOK
//
//  Created by dllo on 15/8/28.
//  Copyright (c) 2015年 武俊娥. All rights reserved.
//

#import "LookJeweCostumCollectionViewCell.h"
#import "UIImageView+WebCache.h"

@interface LookJeweCostumCollectionViewCell ()

@property (nonatomic, retain)UIImageView *imageView;

@end

@implementation LookJeweCostumCollectionViewCell

- (void)dealloc
{
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        [self creatSubView];
    }
    return self;
}

- (void)creatSubView
{
    self.imageView = [[[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)] autorelease];
    
    [self.contentView addSubview:_imageView];
    
}

- (void)sendDic: (NSMutableDictionary *)dic
{
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:[dic objectForKey:@"cover_image_url"]]];
}

@end
